package org.yscz.exception;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

/**
 * @author achen
 * @create 2021-08-15 23:33
 */
@Data
@Accessors(chain = true)
public class UserNameAndPasswordNotEmptyException extends RuntimeException {
    private Integer code;
    private String msg;

    public UserNameAndPasswordNotEmptyException() {
        super();
    }

    public UserNameAndPasswordNotEmptyException(Integer code, String msg) {
        super(msg);
        this.code = code;
        this.msg = msg;
    }
}
